<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
    'id'=>'active-record-log-form',
    'enableAjaxValidation'=>false,
)); ?>

<p class="note"><?php echo Yii::t('site','Fields with {marker} are required.',array('{marker}'=>'<span class="required">*</span>')); ?></p>

    <?php echo $form->errorSummary($model); ?>

    <div class="row">
        <?php echo $form->labelEx($model,'modelName'); ?>
        <?php echo $form->textField($model,'modelName',array('size'=>45,'maxlength'=>45)); ?>
        <?php echo $form->error($model,'modelName'); ?>
    </div>

    <div class="row">
        <?php echo $form->labelEx($model,'actionName'); ?>
        <?php echo $form->textField($model,'actionName',array('size'=>20,'maxlength'=>20)); ?>
        <?php echo $form->error($model,'actionName'); ?>
    </div>

    <div class="row">
        <?php echo $form->labelEx($model,'recordId'); ?>
        <?php echo $form->textField($model,'recordId'); ?>
        <?php echo $form->error($model,'recordId'); ?>
    </div>

    <div class="row">
        <?php echo $form->labelEx($model,'userIdCreated'); ?>
        <?php echo $form->textField($model,'userIdCreated',array('size'=>45,'maxlength'=>45)); ?>
        <?php echo $form->error($model,'userIdCreated'); ?>
    </div>

    <div class="row">
        <?php echo $form->labelEx($model,'timestampCreated'); ?>
        <?php echo $form->textField($model,'timestampCreated'); ?>
        <?php echo $form->error($model,'timestampCreated'); ?>
    </div>

    <div class="row">
        <?php echo $form->labelEx($model,'userIdChanged'); ?>
        <?php echo $form->textField($model,'userIdChanged'); ?>
        <?php echo $form->error($model,'userIdChanged'); ?>
    </div>

    <div class="row">
        <?php echo $form->labelEx($model,'timestampChanged'); ?>
        <?php echo $form->textField($model,'timestampChanged'); ?>
        <?php echo $form->error($model,'timestampChanged'); ?>
    </div>

    <div class="row buttons">
        <?php $this->widget( 'application.extensions.button.DDButton',
			array(
				'title'=>$model->isNewRecord?Yii::t('site','Create'):Yii::t('site','Save'),
				'linkTitle'=>$model->isNewRecord?Yii::t('site','Create this record'):Yii::t('site','Save this record'),
				'formID' => 'active-record-log-form',
				'buttonType' => 'save'
		)); ?>
        <?php $this->widget( 'application.extensions.button.DDButton',
			array(
				'title'=>Yii::t('site','Reset'),
				'linkTitle'=>Yii::t('site','Reset the form data'),
				'formID' => 'active-record-log-form',
				'buttonType' => 'reset',
				'confirm' => Yii::t('site','Really reset this form?')
		)); ?>
        <?php $this->widget( 'application.extensions.button.DDButton',
			array(
				'title'=>Yii::t('site','Cancel'),
				'linkTitle'=>Yii::t('site','Cancel editing, back to list'),
				'formID' => 'active-record-log-form',
				'buttonType' => 'cancel',
				'confirm' => Yii::t('site','Really cancel editing this item?'),
				'url' => array('activerecordlog/index')
		)); ?>
    </div>

<?php $this->endWidget(); ?>

</div><!-- form -->
